<p>
  <b>Name:</b>
  <%=h @item.name %>
</p>

<p>
  <b>Description:</b>
  <%=h @item.description %>
</p>

<h3>Attributes</h3>
   <ul>
      <% for item_attribute in @item_attributes %>
         <li><%= item_attribute.name%>: <%= item_attribute.value %>
      <% end %>
   </ul>

<p>
  <b>Category</b>
  <%= @item.category.name %>
</p>


<%= link_to 'Edit', edit_item_path(@item) %> |
<%= link_to 'Back', items_path %>
